<template>
  <el-dialog title="添加课程" v-model="visible" width="40%" >
    <div>
      <span>课号</span> <el-input placeholder="请输入内容" clearable></el-input>
      <span>课名</span> <el-input placeholder="请输入内容" clearable></el-input>
      <span>学时</span> <el-input placeholder="请输入内容" clearable></el-input>
      <span>教师号</span> <el-input placeholder="请输入内容" clearable></el-input>
      <span>上课周期</span> <el-input placeholder="请输入内容" clearable></el-input>
      <span>收费</span> <el-input placeholder="请输入内容" clearable></el-input>
      <span>上课地点</span> <el-input placeholder="请输入内容" clearable></el-input>
      <span>教师号</span> <el-input placeholder="请输入内容" clearable></el-input>
      <span>招收人数</span> <el-input placeholder="请输入内容" clearable></el-input>
    </div>

    <template #footer>
      <span class="dialog-footer">
        <el-button @click="visible = false">取 消</el-button>
        <el-button type="primary" @click="visible = false">确 定</el-button>
      </span>
    </template>
  </el-dialog>
</template>

<script>
import {ref} from "vue";
export default {
  name: "AddCourse",
  props: {
    visible: ref(Boolean)
  }
}
</script>

<style scoped>

</style>